﻿using System.ComponentModel.DataAnnotations;

namespace Lanbt.Core.Entity.Dto.quartz
{
    public class UpdateJobInput
    {
        /// <summary>
        /// 修改任务名
        /// </summary>
        [Required(ErrorMessage = "修改任务名为空")]
        public string OldName { get; set; }

        /// <summary>
        /// 修改任务组
        /// </summary>
        [Required(ErrorMessage = "修改任务组为空")]
        public string OldGroup { get; set; }

        /// <summary>
        /// 任务信息
        /// </summary>
        public InsertJobInput JobDetail { get; set; }
    }
}
